<template>
  <div>御剑乘风来,除魔天地间!===c4 这里是私有组件==={{cc}}
    <van-button @click='c4btn' type="info">信息按钮</van-button>
  </div>
</template>
           
<script>
export default {
  props: ["cc"],
  data(){
    return {
      c4Msg:'我是c4中的数据'
    }
  },
  methods:{
    c4btn(){
       //this.$emit('父组件中的事件名','向父组件传递的参数')
       this.$emit('c4tocc',this.c4Msg)
    }
  }
};
</script>
<style scoped>
</style>